package ai.people.netmon.framework.domain.archives.entity;

import ai.people.netmon.framework.domain.graph.tags.GangGroupMembersTag;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 *
 * @author zhenglin
 * @since 2022-06-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
public class GangGroupMembersGraphBO {
    /**
     * 主键ID
     */
    private String vid;

    /**
     * 父节点ID
     */
    private String parentId;

    /**
     * 团伙身份
     */
    private String groupIdentity;

    /**
     * 危险程度
     */
    private String degreeOfDanger;

    /**
     * 档案ID
     */
    private String archivesId;

    /**
     * 更新时间
     */
    private Long updateTime;

    public GangGroupMembersGraphBO(String vid, GangGroupMembersTag gangGroupMembersTag) {
        this.vid = vid;
        this.groupIdentity = gangGroupMembersTag.getGroupIdentity();
        this.degreeOfDanger = gangGroupMembersTag.getDegreeOfDanger();
        this.archivesId = gangGroupMembersTag.getPersonArchivesId();
        this.updateTime = gangGroupMembersTag.getUpdateTime();
    }
}
